package com.aoyama.learnmvc.spring;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：qs
 * @date ：Created in 2022/7/5
 * @description：
 * @modified By：
 */
@ComponentScan("com.aoyama.learnmvc.spring")
@Configuration
public class MainConfig {

    public Person person(){
        Person person = new Person();
        person.setName("李四");
        return person;
    }
}
